package com.sohh.demo.demo0522;

/**
 * @description: 复习匿名内部类
 * @author: ruoan
 * @date: 2021/5/16 15:57
 */
public class Test14 {

    public static void main(String[] args) {

        HelloWorld hw = new HelloWorld() {
            @Override
            public void greet() {

            }

            @Override
            public void greetSomeone(String someone) {

            }
        };

    }



}
